home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1997 #1
/
Amiga Plus CD - 1997 - No. 01.iso
/
pd
/
programmierung
/
mesa-1.2.8
/
src-glu
/
glup.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-27
|
2KB
|
87 lines
/* gluP.h */
/*
* Mesa 3-D graphics library
* Version: 1.2
* Copyright (C) 1995 Brian Paul (brianp@ssec.wisc.edu)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
$Id: gluP.h,v 1.5 1995/08/04 13:10:49 brianp Exp $
$Log: gluP.h,v $
* Revision 1.5 1995/08/04 13:10:49 brianp
* conditionally define NULL
* always definde GLU_NO_ERROR
*
* Revision 1.4 1995/07/28 21:36:26 brianp
* changed all GLUenum to GLenum
*
* Revision 1.3 1995/07/26 15:05:36 brianp
* added MEMCPY macro
*
* Revision 1.2 1995/05/22 16:56:20 brianp
* Release 1.2
*
* Revision 1.1 1995/05/16 19:18:02 brianp
* Initial revision
*
*/
/*
* This file allows the GLU code to be compiled either with the Mesa
* headers or with the real OpenGL headers.
*/
#ifndef GLUP_H
#define GLUP_H
#include "GL/gl.h"
#include "GL/glu.h"
#ifndef MESA
/* If we're using the real OpenGL header files... */
# define GLU_TESS_ERROR9 100159
#endif
#define GLU_NO_ERROR GL_NO_ERROR
/* for Sun: */
#ifdef SUNOS4
#define MEMCPY( DST, SRC, BYTES) \
memcpy( (char *) (DST), (char *) (SRC), (int) (BYTES) )
#else
#define MEMCPY( DST, SRC, BYTES) \
memcpy( (void *) (DST), (void *) (SRC), (size_t) (BYTES) )
#endif
#ifndef NULL
# define NULL 0
#endif
#endif